| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

DdsEncoder.h
1 // DdsEncoder.h
3 //
5
6 namespace nkImages
7 {
11 class DdsEncoder final
12 {
13 public :
14
15 // Encoding
25 static nkMemory::Buffer encode (const ImageView& image) ;
26
27 // Decoding
35 static bool canDecode (nkMemory::BufferView<unsigned char> data) ;
58 static Image decode (nkMemory::BufferView<unsigned char> data, const AlignmentDescriptor& alignmentDescriptor = AlignmentDescriptor()) ;
59 } ;
60 }
nkImages::DdsEncoder
Offers capabilities to encode and decode DDS format.
Definition: DdsEncoder.h:12
nkMemory::BufferView< unsigned char >
nkImages::ImageView
Holds all information required for an image, with no ownership over the data.
Definition: ImageView.h:14
nkImages::DdsEncoder::canDecode
static bool canDecode(nkMemory::BufferView< unsigned char > data)
nkImages::DdsEncoder::decode
static Image decode(nkMemory::BufferView< unsigned char > data, const AlignmentDescriptor &alignmentDescriptor=AlignmentDescriptor())
nkImages::DdsEncoder::encode
static nkMemory::Buffer encode(const ImageView &image)
nkMemory::Buffer
A buffer holding binary data.
Definition: Buffer.h:32
nkImages::AlignmentDescriptor
Holds information about alignment constraints.
Definition: AlignmentDescriptor.h:12
nkImages
Encompasses all API of component NilkinsImages.
Definition: BmpEncoder.h:7
nkImages::Image
Holds all information required for an image, with ownership over the data.
Definition: Image.h:14